﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>Traversing - Finding</title>
    <script src="script/jquery-1.3.2.js" type="text/javascript"></script>
    <script language="javascript" type="text/javascript">
        $(document).ready(function() {
        $("div").children().css("border-bottom", "3px double red");
        });
    </script>
    <style type="text/css">
    div
    {
        border:solid 1px #000;
        height:50px;
        width:232px;
        margin:13px;
    }
    </style>
</head>
<body>
    <p>Hello (this is a paragraph)</p> 

    <div><span>Hello Again (this span is a child of the a div)</span></div> 
    <p>And <span>Again</span> (in another paragraph)</p> 

    <div>And One Last <span>Time</span> (most text directly in a div)</div>
</body>
</html>
